package com.zzy.ecommerce.service;

import com.zzy.ecommerce.domain.TGoods;
import com.zzy.ecommerce.domain.TUser;

import java.util.List;

public interface GoodsService {
    Integer insertOneGoods(TGoods tGoods);

    List<TGoods> selectAllGoods();

    Integer deleteOneGoods(Integer id);

    Integer deleteAllGoods();

    Integer updateOneGoodsStock(Integer id,Integer goodsStock);

    TGoods selectOneGoodsById(Integer id);
}
